package com.infra.micro.id.model.req;

import com.infra.common.req.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "queryIdTokenByCondReq", description = "应用信息分页查询参数请求对象")
public class QueryIdTokenByCondReq extends BasePageReq {
    /**
     * INTEGER(10) 必填
     * 自增id,此token可访问的业务应用唯一标识ID
     */
    @ApiModelProperty(name = "appId", value = "自增id,此token可访问的业务应用唯一标识ID")
    private Integer appId;

    /**
     * VARCHAR(100) 默认值[] 必填
     * 应用名
     */
    @ApiModelProperty(name = "appName", value = "应用名")
    private String appName;

    /**
     * VARCHAR(127) 默认值[] 必填
     * token
     */
    @ApiModelProperty(name = "token", value = "token")
    private String token;

    /**
     * VARCHAR(63) 默认值[] 必填
     * 部门名称
     */
    @ApiModelProperty(name = "deptName", value = "部门名称")
    private String deptName;

    /**
     * VARCHAR(50) 默认值[]
     * 负责人：中文名称
     */
    @ApiModelProperty(name = "ownerName", value = "负责人：中文名称")
    private String ownerName;

    /**
     * VARCHAR(63) 默认值[]
     * 负责人：邮箱前缀
     */
    @ApiModelProperty(name = "ownerEmail", value = "负责人：邮箱前缀")
    private String ownerEmail;

    /**
     * BIT(1) 默认值[b'0'] 必填
     * 1: 禁用, 0: 启用
     */
    @ApiModelProperty(name = "disabled", value = "1: 禁用, 0: 启用")
    private Boolean disabled;

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerEmail() {
        return ownerEmail;
    }

    public void setOwnerEmail(String ownerEmail) {
        this.ownerEmail = ownerEmail;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }
}
